<template>
  <table-box ref="tableBox" class="table-height-auto" :data="tableData" :table-config="tableConfig" />
</template>
<script>
export default {
  name: 'AccountAndSenderInfo',
  props: {
    tableData: {
      type: Array,
      default: () => []
    }
  },
  data() {
    return {
      tableConfig: {
        hideFuncBar: true,
        setting: [
          {
            prop: 'accountCode',
            label: '业务账号编码',
            minWidth: 100
          },
          {
            prop: 'accountName',
            label: '业务账号名称',
            minWidth: 100
          },
          {
            prop: 'accountTypeName',
            label: '业务账号类型',
            minWidth: 100
          },
          {
            prop: 'code',
            label: '对应送达方编码',
            minWidth: 100
          },
          {
            prop: 'name',
            label: '对应送达方名称',
            minWidth: 100
          }
        ]
      }
    }
  }
}
</script>
